projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0adbb21
)
* src/nsfns.m (ns_move_tooltip_to_mouse_location): Handle invisible frames.
author
Po Lu
<luangruo@yahoo.com>
Sun, 12 Jun 2022 02:13:04 +0000
(10:13 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Sun, 12 Jun 2022 02:13:04 +0000
(10:13 +0800)
src/nsfns.m
patch
|
blob
|
history
diff --git
a/src/nsfns.m
b/src/nsfns.m
index add4883e1fde6d6d362a66c5a418c076e854a6c1..5ab2b2ee35ac8661378d159e83bd2a95eb9a3b0a 100644
(file)
--- a/
src/nsfns.m
+++ b/
src/nsfns.m
@@
-3816,7
+3816,8
@@
ns_move_tooltip_to_mouse_location (NSPoint screen_point)
if (ns_tooltip)
size = [ns_tooltip frame].size;
else if (!FRAMEP (tip_frame)
- || !FRAME_LIVE_P (XFRAME (tip_frame)))
+ || !FRAME_LIVE_P (XFRAME (tip_frame))
+ || !FRAME_VISIBLE_P (XFRAME (tip_frame)))
return;
else
{